<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: yLib::yBasicAllocator&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classyLib_1_1yBasicAllocator.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classyLib_1_1yBasicAllocator-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">yLib::yBasicAllocator&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This is a basic mem-allocator in <a class="el" href="namespaceyLib.html" title="This is a top namespace in yLib.">yLib</a>.  
 <a href="classyLib_1_1yBasicAllocator.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="yallocator_8hpp_source.html">yallocator.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for yLib::yBasicAllocator&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classyLib_1_1yBasicAllocator.png" usemap="#yLib::yBasicAllocator_3C_20T_20_3E_map" alt=""/>
  <map id="yLib::yBasicAllocator_3C_20T_20_3E_map" name="yLib::yBasicAllocator_3C_20T_20_3E_map">
<area href="classyLib_1_1yObject.html" title="This is base-class of the all object in yLib." alt="yLib::yObject" shape="rect" coords="0,0,162,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyLib_1_1yBasicAllocator_1_1rebind.html">rebind</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The element of <a class="el" href="classyLib_1_1yBasicAllocator.html" title="This is a basic mem-allocator in yLib.">yBasicAllocator</a>.  <a href="structyLib_1_1yBasicAllocator_1_1rebind.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ace1221d18f821a14896eb2acecf8d56c"><td class="memItemLeft" align="right" valign="top">typedef T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#ace1221d18f821a14896eb2acecf8d56c">value_type</a></td></tr>
<tr class="separator:ace1221d18f821a14896eb2acecf8d56c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc6649dc9cdb1db1e9414654e1d1f4dc"><td class="memItemLeft" align="right" valign="top">typedef T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a></td></tr>
<tr class="separator:adc6649dc9cdb1db1e9414654e1d1f4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cb0b3a23165aeab48a8cfa790b11560"><td class="memItemLeft" align="right" valign="top">typedef const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a7cb0b3a23165aeab48a8cfa790b11560">const_pointer</a></td></tr>
<tr class="separator:a7cb0b3a23165aeab48a8cfa790b11560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b07a6bf07a98c8e2830b3bd4acccaf6"><td class="memItemLeft" align="right" valign="top">typedef T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a6b07a6bf07a98c8e2830b3bd4acccaf6">reference</a></td></tr>
<tr class="separator:a6b07a6bf07a98c8e2830b3bd4acccaf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa89d64c8f2e2bfa3421c635d6f4e54db"><td class="memItemLeft" align="right" valign="top">typedef const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#aa89d64c8f2e2bfa3421c635d6f4e54db">const_reference</a></td></tr>
<tr class="separator:aa89d64c8f2e2bfa3421c635d6f4e54db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab08eba49349b99dbb249c67e05c4bd43"><td class="memItemLeft" align="right" valign="top">typedef T &amp;&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#ab08eba49349b99dbb249c67e05c4bd43">rreference</a></td></tr>
<tr class="separator:ab08eba49349b99dbb249c67e05c4bd43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad773fe9868b90172228552c538bbfa91"><td class="memItemLeft" align="right" valign="top">typedef const T &amp;&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#ad773fe9868b90172228552c538bbfa91">const_rreference</a></td></tr>
<tr class="separator:ad773fe9868b90172228552c538bbfa91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80e1085e61306bbe08b7b7df203c039"><td class="memItemLeft" align="right" valign="top">typedef size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a></td></tr>
<tr class="separator:ae80e1085e61306bbe08b7b7df203c039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add7cb549cd0f0edaa88f65e1a4290b2a"><td class="memItemLeft" align="right" valign="top">typedef ptrdiff_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#add7cb549cd0f0edaa88f65e1a4290b2a">difference_type</a></td></tr>
<tr class="separator:add7cb549cd0f0edaa88f65e1a4290b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a47124bf9d71472efa81048b7fbe4414d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a47124bf9d71472efa81048b7fbe4414d">allocate</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a> n, const void *hint=static_cast&lt; const void * &gt;(0))</td></tr>
<tr class="memdesc:a47124bf9d71472efa81048b7fbe4414d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocate memory.  <a href="classyLib_1_1yBasicAllocator.html#a47124bf9d71472efa81048b7fbe4414d">More...</a><br /></td></tr>
<tr class="separator:a47124bf9d71472efa81048b7fbe4414d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0508bde09428fa387f61741cc1d1194"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#ab0508bde09428fa387f61741cc1d1194">deallocate</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a> p, <a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a> n)</td></tr>
<tr class="memdesc:ab0508bde09428fa387f61741cc1d1194"><td class="mdescLeft">&#160;</td><td class="mdescRight">free memory.  <a href="classyLib_1_1yBasicAllocator.html#ab0508bde09428fa387f61741cc1d1194">More...</a><br /></td></tr>
<tr class="separator:ab0508bde09428fa387f61741cc1d1194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97c8d2509160ce700d1c6887e721ea9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a97c8d2509160ce700d1c6887e721ea9e">construct</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a> p, <a class="el" href="classyLib_1_1yBasicAllocator.html#aa89d64c8f2e2bfa3421c635d6f4e54db">const_reference</a> value)</td></tr>
<tr class="memdesc:a97c8d2509160ce700d1c6887e721ea9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy-construct a obj on exsited memory.  <a href="classyLib_1_1yBasicAllocator.html#a97c8d2509160ce700d1c6887e721ea9e">More...</a><br /></td></tr>
<tr class="separator:a97c8d2509160ce700d1c6887e721ea9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ae63e65f6b5e6705746b92ce4a5ac52"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a8ae63e65f6b5e6705746b92ce4a5ac52">construct</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a> p, <a class="el" href="classyLib_1_1yBasicAllocator.html#ad773fe9868b90172228552c538bbfa91">const_rreference</a> value)</td></tr>
<tr class="memdesc:a8ae63e65f6b5e6705746b92ce4a5ac52"><td class="mdescLeft">&#160;</td><td class="mdescRight">move-construct a obj on exsited memory.  <a href="classyLib_1_1yBasicAllocator.html#a8ae63e65f6b5e6705746b92ce4a5ac52">More...</a><br /></td></tr>
<tr class="separator:a8ae63e65f6b5e6705746b92ce4a5ac52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21b29dcbc20277148840485b8c78b5d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a21b29dcbc20277148840485b8c78b5d9">destroy</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a> p)</td></tr>
<tr class="memdesc:a21b29dcbc20277148840485b8c78b5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor.  <a href="classyLib_1_1yBasicAllocator.html#a21b29dcbc20277148840485b8c78b5d9">More...</a><br /></td></tr>
<tr class="separator:a21b29dcbc20277148840485b8c78b5d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8cac14e62a1e99461078930bfa0f4aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#ae8cac14e62a1e99461078930bfa0f4aa">max_size</a> () const</td></tr>
<tr class="memdesc:ae8cac14e62a1e99461078930bfa0f4aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculate the max-num of T.  <a href="classyLib_1_1yBasicAllocator.html#ae8cac14e62a1e99461078930bfa0f4aa">More...</a><br /></td></tr>
<tr class="separator:ae8cac14e62a1e99461078930bfa0f4aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e94ddd966982f280bd0768757463a65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a5e94ddd966982f280bd0768757463a65">address</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#a6b07a6bf07a98c8e2830b3bd4acccaf6">reference</a> x) const</td></tr>
<tr class="memdesc:a5e94ddd966982f280bd0768757463a65"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculate the addr of reference(x).  <a href="classyLib_1_1yBasicAllocator.html#a5e94ddd966982f280bd0768757463a65">More...</a><br /></td></tr>
<tr class="separator:a5e94ddd966982f280bd0768757463a65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b114befe01f3490c3b5bcd84db9a32b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yBasicAllocator.html#a7cb0b3a23165aeab48a8cfa790b11560">const_pointer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yBasicAllocator.html#a8b114befe01f3490c3b5bcd84db9a32b">address</a> (<a class="el" href="classyLib_1_1yBasicAllocator.html#aa89d64c8f2e2bfa3421c635d6f4e54db">const_reference</a> x) const</td></tr>
<tr class="memdesc:a8b114befe01f3490c3b5bcd84db9a32b"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculate the const addr of reference(x)..  <a href="classyLib_1_1yBasicAllocator.html#a8b114befe01f3490c3b5bcd84db9a32b">More...</a><br /></td></tr>
<tr class="separator:a8b114befe01f3490c3b5bcd84db9a32b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classyLib_1_1yObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classyLib_1_1yObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classyLib_1_1yObject.html">yLib::yObject</a></td></tr>
<tr class="memitem:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a4f7523f70c3832ac47812ca5d366adca">yObject</a> ()</td></tr>
<tr class="memdesc:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="classyLib_1_1yObject.html#a4f7523f70c3832ac47812ca5d366adca">More...</a><br /></td></tr>
<tr class="separator:a4f7523f70c3832ac47812ca5d366adca inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a0e54fc8334031b969dbc4a4d45c489b3">yObject</a> (<a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a> object_name_)</td></tr>
<tr class="memdesc:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override constructor.  <a href="classyLib_1_1yObject.html#a0e54fc8334031b969dbc4a4d45c489b3">More...</a><br /></td></tr>
<tr class="separator:a0e54fc8334031b969dbc4a4d45c489b3 inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a94c1477907a7d2cad4ee2ad321ba571a">yObject</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;object_)=delete</td></tr>
<tr class="memdesc:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="classyLib_1_1yObject.html#a94c1477907a7d2cad4ee2ad321ba571a">More...</a><br /></td></tr>
<tr class="separator:a94c1477907a7d2cad4ee2ad321ba571a inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a5bdd44e891dc768a9a414618756818fd">operator=</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;object_)=delete</td></tr>
<tr class="memdesc:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment constructor.  <a href="classyLib_1_1yObject.html#a5bdd44e891dc768a9a414618756818fd">More...</a><br /></td></tr>
<tr class="separator:a5bdd44e891dc768a9a414618756818fd inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a409ebd4dd4b5b5ca41de594eb6a6980b">yObject</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&amp;object_)=delete</td></tr>
<tr class="memdesc:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="classyLib_1_1yObject.html#a409ebd4dd4b5b5ca41de594eb6a6980b">More...</a><br /></td></tr>
<tr class="separator:a409ebd4dd4b5b5ca41de594eb6a6980b inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a0aebad488c9d1f92f89f3074a23a3f90">operator=</a> (const <a class="el" href="classyLib_1_1yObject.html">yObject</a> &amp;&amp;object_)=delete</td></tr>
<tr class="memdesc:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment constructor.  <a href="classyLib_1_1yObject.html#a0aebad488c9d1f92f89f3074a23a3f90">More...</a><br /></td></tr>
<tr class="separator:a0aebad488c9d1f92f89f3074a23a3f90 inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a19061becef2eb18430987e9024d92a5b">~yObject</a> ()</td></tr>
<tr class="memdesc:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="classyLib_1_1yObject.html#a19061becef2eb18430987e9024d92a5b">More...</a><br /></td></tr>
<tr class="separator:a19061becef2eb18430987e9024d92a5b inherit pub_methods_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classyLib_1_1yObject"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classyLib_1_1yObject')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classyLib_1_1yObject.html">yLib::yObject</a></td></tr>
<tr class="memitem:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="memItemLeft" align="right" valign="top"><a class="el" href="src_2CMakeLists_8txt.html#a296644e9ff1d0a602b4703f361406374">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classyLib_1_1yObject.html#a2db8b0c6fba5a9137092715442866090">object_name</a></td></tr>
<tr class="memdesc:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">The object-name.  <a href="classyLib_1_1yObject.html#a2db8b0c6fba5a9137092715442866090">More...</a><br /></td></tr>
<tr class="separator:a2db8b0c6fba5a9137092715442866090 inherit pub_attribs_classyLib_1_1yObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T&gt;<br />
class yLib::yBasicAllocator&lt; T &gt;</h3>

<p>This is a basic mem-allocator in <a class="el" href="namespaceyLib.html" title="This is a top namespace in yLib.">yLib</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a7cb0b3a23165aeab48a8cfa790b11560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cb0b3a23165aeab48a8cfa790b11560">&#9670;&nbsp;</a></span>const_pointer</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const T* <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#a7cb0b3a23165aeab48a8cfa790b11560">const_pointer</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa89d64c8f2e2bfa3421c635d6f4e54db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa89d64c8f2e2bfa3421c635d6f4e54db">&#9670;&nbsp;</a></span>const_reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const T&amp; <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#aa89d64c8f2e2bfa3421c635d6f4e54db">const_reference</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ad773fe9868b90172228552c538bbfa91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad773fe9868b90172228552c538bbfa91">&#9670;&nbsp;</a></span>const_rreference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const T&amp;&amp; <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#ad773fe9868b90172228552c538bbfa91">const_rreference</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="add7cb549cd0f0edaa88f65e1a4290b2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add7cb549cd0f0edaa88f65e1a4290b2a">&#9670;&nbsp;</a></span>difference_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef ptrdiff_t <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#add7cb549cd0f0edaa88f65e1a4290b2a">difference_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adc6649dc9cdb1db1e9414654e1d1f4dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc6649dc9cdb1db1e9414654e1d1f4dc">&#9670;&nbsp;</a></span>pointer</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T* <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6b07a6bf07a98c8e2830b3bd4acccaf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b07a6bf07a98c8e2830b3bd4acccaf6">&#9670;&nbsp;</a></span>reference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T&amp; <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#a6b07a6bf07a98c8e2830b3bd4acccaf6">reference</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab08eba49349b99dbb249c67e05c4bd43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab08eba49349b99dbb249c67e05c4bd43">&#9670;&nbsp;</a></span>rreference</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T&amp;&amp; <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#ab08eba49349b99dbb249c67e05c4bd43">rreference</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae80e1085e61306bbe08b7b7df203c039"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae80e1085e61306bbe08b7b7df203c039">&#9670;&nbsp;</a></span>size_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef size_t <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ace1221d18f821a14896eb2acecf8d56c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace1221d18f821a14896eb2acecf8d56c">&#9670;&nbsp;</a></span>value_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef T <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::<a class="el" href="classyLib_1_1yBasicAllocator.html#ace1221d18f821a14896eb2acecf8d56c">value_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8b114befe01f3490c3b5bcd84db9a32b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b114befe01f3490c3b5bcd84db9a32b">&#9670;&nbsp;</a></span>address() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yBasicAllocator.html#a7cb0b3a23165aeab48a8cfa790b11560">const_pointer</a> <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::address </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#aa89d64c8f2e2bfa3421c635d6f4e54db">const_reference</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>calculate the const addr of reference(x).. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the obj will be calculated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the reference(x)'s const addr </dd></dl>

</div>
</div>
<a id="a5e94ddd966982f280bd0768757463a65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e94ddd966982f280bd0768757463a65">&#9670;&nbsp;</a></span>address() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a> <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::address </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#a6b07a6bf07a98c8e2830b3bd4acccaf6">reference</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>calculate the addr of reference(x). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the obj will be calculated. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the reference(x)'s addr </dd></dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname"></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a47124bf9d71472efa81048b7fbe4414d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47124bf9d71472efa81048b7fbe4414d">&#9670;&nbsp;</a></span>allocate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a> <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::allocate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a>&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>hint</em> = <code>static_cast&lt;const&#160;void*&gt;(0)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Allocate memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>the num of sizeof(T) will be allocted. </td></tr>
    <tr><td class="paramname">hint</td><td>not use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Return a pointer that size is n*sizeof(T) bytes. </dd></dl>

</div>
</div>
<a id="a97c8d2509160ce700d1c6887e721ea9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97c8d2509160ce700d1c6887e721ea9e">&#9670;&nbsp;</a></span>construct() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::construct </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a>&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#aa89d64c8f2e2bfa3421c635d6f4e54db">const_reference</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>copy-construct a obj on exsited memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>the pointer will be constructed. </td></tr>
    <tr><td class="paramname">value</td><td>the default val for constructed obj. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a id="a8ae63e65f6b5e6705746b92ce4a5ac52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ae63e65f6b5e6705746b92ce4a5ac52">&#9670;&nbsp;</a></span>construct() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::construct </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a>&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#ad773fe9868b90172228552c538bbfa91">const_rreference</a>&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>move-construct a obj on exsited memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>the pointer will be constructed. </td></tr>
    <tr><td class="paramname">value</td><td>the default val for constructed obj. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a id="ab0508bde09428fa387f61741cc1d1194"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0508bde09428fa387f61741cc1d1194">&#9670;&nbsp;</a></span>deallocate()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::deallocate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a>&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a>&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>free memory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>the pointer will be freed. </td></tr>
    <tr><td class="paramname">n</td><td>not use. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a id="a21b29dcbc20277148840485b8c78b5d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21b29dcbc20277148840485b8c78b5d9">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classyLib_1_1yBasicAllocator.html#adc6649dc9cdb1db1e9414654e1d1f4dc">pointer</a>&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>destructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td>the pointer will be destructed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<a id="ae8cac14e62a1e99461078930bfa0f4aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8cac14e62a1e99461078930bfa0f4aa">&#9670;&nbsp;</a></span>max_size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classyLib_1_1yBasicAllocator.html#ae80e1085e61306bbe08b7b7df203c039">size_type</a> <a class="el" href="classyLib_1_1yBasicAllocator.html">yLib::yBasicAllocator</a>&lt; T &gt;::max_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>calculate the max-num of T. </p>
<dl class="section warning"><dt>Warning</dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the max-num of T. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/sky/yLib/include/core/<a class="el" href="yallocator_8hpp_source.html">yallocator.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceyLib.html">yLib</a></li><li class="navelem"><a class="el" href="classyLib_1_1yBasicAllocator.html">yBasicAllocator</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
